package com.xls.dormitoryservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xls.dormitoryservice.entity.Repair;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xls.dormitoryservice.vo.RepairQuery;
import com.xls.dormitoryservice.vo.RepairVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
public interface RepairService extends IService<Repair> {

    RepairVo getRepair(String id);

    RepairVo saveRepair(RepairVo repairVo);

    RepairVo updateRepair(RepairVo repairVo);

    Page<RepairVo> getRepairVoPage(Integer page, Integer limit, RepairQuery repairQuery);

}
